package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 房东管理对象 tb_owner
 * 
 * @author ruoyi
 * @date 2025-07-11
 */
public class TbOwner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商铺名称 */
    @Excel(name = "商铺名称")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    /** 商铺类型的id */
    @Excel(name = "商铺类型的id")
    private Long typeId;

    /** 商铺图片，多个图片以','隔开 */
    @Excel(name = "商铺图片，多个图片以','隔开")
    private String images;

    /** 评分，1~5分，乘10保存，避免小数 */
    @Excel(name = "评分，1~5分，乘10保存，避免小数")
    private Integer score;

    /** 房屋管理信息 */
    private List<TbHouse> tbHouseList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setScore(Integer score) 
    {
        this.score = score;
    }

    public Integer getScore() 
    {
        return score;
    }

    public List<TbHouse> getTbHouseList()
    {
        return tbHouseList;
    }

    public void setTbHouseList(List<TbHouse> tbHouseList)
    {
        this.tbHouseList = tbHouseList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("contact", getContact())
            .append("typeId", getTypeId())
            .append("images", getImages())
            .append("score", getScore())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("tbHouseList", getTbHouseList())
            .toString();
    }
}
